segmentation fault when trying to access ```list1- data```